/*           Copyright(c) 2005-2008 Dave Sexton            *
 *                   HtmlEditor Control                    *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.Design;

namespace DaveSexton.Controls
{
	partial class HtmlCommand
	{
		internal const uint Unknown = 0;
		
		internal static class Standard
		{
			public const uint AlignBottom = 1;
			public const uint AlignHorizontalCenters = 2;
			public const uint AlignLeft = 3;
			public const uint AlignRight = 4;
			public const uint AlignToGrid = 5;
			public const uint AlignTop = 6;
			public const uint AlignVerticalCenters = 7;
			public const uint ArrangeBottom = 8;
			public const uint ArrangeIcons = 0x300a;
			public const uint ArrangeRight = 9;
			public const uint BringForward = 10;
			public const uint BringToFront = 11;
			public const uint CenterHorizontally = 12;
			public const uint CenterVertically = 13;
			public const uint Copy = 15;
			public const uint Cut = 16;
			public const uint ViewCode = 0x14d;
			public const uint Delete = 0x11;
			public const uint DocumentOutline = 0xef;
			public const uint F1Help = 0x179;
			public const uint Group = 20;
			public const uint HorizSpaceConcatenate = 0x15;
			public const uint HorizSpaceDecrease = 0x16;
			public const uint HorizSpaceIncrease = 0x17;
			public const uint HorizSpaceMakeEqual = 0x18;
			public const uint LineupIcons = 0x300b;
			public const uint LockControls = 0x171;
			public const uint MultiLevelRedo = 30;
			public const uint MultiLevelUndo = 0x2c;
			public const uint Paste = 0x1a;
			public const uint Properties = 0x1c;
			public const uint PropertiesWindow = 0xeb;
			public const uint Redo = 0x1d;
			public const uint Replace = 230;
			public const uint SelectAll = 0x1f;
			public const uint SendBackward = 0x20;
			public const uint SendToBack = 0x21;
			public const uint ShowGrid = 0x67;
			public const uint ShowLargeIcons = 0x300c;
			public const uint SizeToControl = 0x23;
			public const uint SizeToControlHeight = 0x24;
			public const uint SizeToControlWidth = 0x25;
			public const uint SizeToFit = 0x26;
			public const uint SizeToGrid = 0x27;
			public const uint SnapToGrid = 40;
			public const uint TabOrder = 0x29;
			public const uint Undo = 0x2b;
			public const uint Ungroup = 0x2d;
			public const uint VerbFirst = 0x2000;
			public const uint VerbLast = 0x2100;
			public const uint VertSpaceConcatenate = 0x2e;
			public const uint VertSpaceDecrease = 0x2f;
			public const uint VertSpaceIncrease = 0x30;
			public const uint VertSpaceMakeEqual = 0x31;
			public const uint ViewGrid = 0x7d;
		}

		internal static class MSHtml
		{
			public const uint FontName = 18;
			public const uint FontSize = 19;
			public const uint InsertObject = 25;
			public const uint ShowTable = 34;
			public const uint Toolbox = 42;
			public const uint Ungroup = 45;
			public const uint JustifyFull = 50;
			public const uint BackColor = 51;
			public const uint Bold = 52;
			public const uint BorderColor = 53;
			public const uint Flat = 54;
			public const uint ForeColor = 55;
			public const uint Italic = 56;
			public const uint JustifyCenter = 57;
			public const uint JustifyGeneral = 58;
			public const uint JustifyLeft = 59;
			public const uint JustifyRight = 60;
			public const uint Raised = 61;
			public const uint Sunken = 62;
			public const uint Underline = 63;
			public const uint Chiseled = 64;
			public const uint Etched = 65;
			public const uint Shadowed = 66;
			public const uint Find = 67;
			public const uint ShowGrid = 69;
			public const uint ObjectVerbList0 = 72;
			public const uint ObjectVerbList1 = 73;
			public const uint ObjectVerbList2 = 74;
			public const uint ObjectVerbList3 = 75;
			public const uint ObjectVerbList4 = 76;
			public const uint ObjectVerbList5 = 77;
			public const uint ObjectVerbList6 = 78;
			public const uint ObjectVerbList7 = 79;
			public const uint ObjectVerbList8 = 80;
			public const uint ObjectVerbList9 = 81;
			public const uint ObjectVerbListLast = ObjectVerbList9;
			public const uint ConvertObject = 82;
			public const uint CustomControl = 83;
			public const uint CustomizeItem = 84;
			public const uint Rename = 85;
			public const uint Import = 86;
			public const uint NewPage = 87;
			public const uint Move = 88;
			public const uint Cancel = 89;
			public const uint Font = 90;
			public const uint StrikeThrough = 91;
			public const uint DeleteWord = 92;
			public const uint ExecutePrint = 93;
			public const uint JustifyNone = 94;
			public const uint TriStateBold = 95;
			public const uint TriStateItalic = 96;
			public const uint TriStateUnderline = 97;
			public const uint FollowAnchor = 2008;
			public const uint InsertInputImage = 2114;
			public const uint InsertInputButton = 2115;
			public const uint InsertInputReset = 2116;
			public const uint InsertInputSubmit = 2117;
			public const uint InsertInputUpload = 2118;
			public const uint InsertFieldset = 2119;
			public const uint PasteInsert = 2120;
			public const uint Replace = 2121;
			public const uint EditSource = 2122;
			public const uint Bookmark = 2123;
			public const uint Hyperlink = 2124;
			public const uint Unlink = 2125;
			public const uint BrowseMode = 2126;
			public const uint EditMode = 2127;
			public const uint UnBookmark = 2128;
			public const uint ToolBars = 2130;
			public const uint StatusBar = 2131;
			public const uint FormatMark = 2132;
			public const uint TextOnly = 2133;
			public const uint Options = 2135;
			public const uint FollowLinkC = 2136;
			public const uint FollowLinkN = 2137;
			public const uint ViewSource = 2139;
			public const uint ZoomPopUp = 2140;
			public const uint BaselineFonts1 = 2141;
			public const uint BaselineFonts2 = 2142;
			public const uint BaselineFonts3 = 2143;
			public const uint BaselineFonts4 = 2144;
			public const uint BaselineFonts = 2145;
			public const uint HorizontalLine = 2150;
			public const uint LineBreakNormal = 2151;
			public const uint LineBreakLeft = 2152;
			public const uint LineBreakRight = 2153;
			public const uint LineBreakBoth = 2154;
			public const uint NonBreak = 2155;
			public const uint SpecialCharacter = 2156;
			public const uint HtmlSource = 2157;
			public const uint IFrame = 2158;
			public const uint HtmlContain = 2159;
			public const uint TextBox = 2161;
			public const uint TextArea = 2162;
			public const uint CheckBox = 2163;
			public const uint RadioButton = 2164;
			public const uint DropDownBox = 2165;
			public const uint ListBox = 2166;
			public const uint Button = 2167;
			public const uint Image = 2168;
			public const uint Object = 2169;
			public const uint D1 = 2170;
			public const uint ImageMap = 2171;
			public const uint File = 2172;
			public const uint Comment = 2173;
			public const uint Script = 2174;
			public const uint JavaApplet = 2175;
			public const uint PlugIn = 2176;
			public const uint PageBreak = 2177;
			public const uint HtmlArea = 2178;
			public const uint Paragraph = 2180;
			public const uint Form = 2181;
			public const uint Marquee = 2182;
			public const uint List = 2183;
			public const uint OrderList = 2184;
			public const uint UnorderList = 2185;
			public const uint Indent = 2186;
			public const uint Outdent = 2187;
			public const uint Preformatted = 2188;
			public const uint Address = 2189;
			public const uint Blink = 2190;
			public const uint Div = 2191;
			public const uint TableInsert = 2200;
			public const uint RCInsert = 2201;
			public const uint CellInsert = 2202;
			public const uint CaptionInsert = 2203;
			public const uint CellMerge = 2204;
			public const uint CellSplit = 2205;
			public const uint CellSelect = 2206;
			public const uint RowSelect = 2207;
			public const uint ColumnSelect = 2208;
			public const uint TableSelect = 2209;
			public const uint TableProperties = 2210;
			public const uint CellProperties = 2211;
			public const uint RowInsert = 2212;
			public const uint ColumnInsert = 2213;
			public const uint HelpContent = 2220;
			public const uint HelpAbout = 2221;
			public const uint HelpReadMe = 2222;
			public const uint RemoveFormat = 2230;
			public const uint PageInformation = 2231;
			public const uint Teletype = 2232;
			public const uint GetBlockFormats = 2233;
			public const uint BlockFormat = 2234;
			public const uint ShowHideCode = 2235;
			public const uint Table = 2236;
			public const uint CopyFormat = 2237;
			public const uint PasteFormat = 2238;
			public const uint Goto = 2239;
			public const uint ChangeFont = 2240;
			public const uint ChangeFontSize = 2241;
			public const uint ChangeCase = 2246;
			public const uint ShowSpecialCharacter = 2249;
			public const uint Subscript = 2247;
			public const uint Superscript = 2248;
			public const uint CenterAlignParagraph = 2250;
			public const uint LeftAlignParagraph = 2251;
			public const uint RightAlignParagraph = 2252;
			public const uint RemoveParagraphFormat = 2253;
			public const uint ApplyNormal = 2254;
			public const uint ApplyHeadings1 = 2255;
			public const uint ApplyHeadings2 = 2256;
			public const uint ApplyHeadings3 = 2257;
			public const uint DocProperties = 2260;
			public const uint AddFavorites = 2261;
			public const uint CopyShortcut = 2262;
			public const uint SaveBackground = 2263;
			public const uint SetWallpaper = 2264;
			public const uint CopyBackground = 2265;
			public const uint CreateShortcut = 2266;
			public const uint Page = 2267;
			public const uint SaveTarget = 2268;
			public const uint ShowPicture = 2269;
			public const uint SavePicture = 2270;
			public const uint DynamicSourcePlay = 2271;
			public const uint DynamicSourceStop = 2272;
			public const uint PrintTarget = 2273;
			public const uint ImageArtPlay = 2274;
			public const uint ImageArtStop = 2275;
			public const uint ImageArtRewind = 2276;
			public const uint PrintQueryJobsPending = 2277;
			public const uint SetDesktopItem = 2278;
			public const uint ContextMenu = 2280;
			public const uint GoBackward = 2282;
			public const uint GoForward = 2283;
			public const uint PreStop = 2284;
			public const uint MyPictures = 2287;
			public const uint EmailPicture = 2288;
			public const uint PrintPicture = 2289;
			public const uint CreateLink = 2290;
			public const uint CopyContent = 2291;
			public const uint Language = 2292;
			public const uint GetPrintTemplate = 2295;
			public const uint SetPrintTemplate = 2296;
			public const uint TemplatePageSetup = 2298;
			public const uint Refresh = 2300;
			public const uint StopDownload = 2301;
			public const uint EnableInteraction = 2302;
			public const uint LaunchDebugger = 2310;
			public const uint BreakAtNext = 2311;
			public const uint InsertInputHidden = 2312;
			public const uint InsertInputPassword = 2313;
			public const uint Overwrite = 2314;
			public const uint ParseComplete = 2315;
			public const uint HtmlEditMode = 2316;
			public const uint RegistryRefresh = 2317;
			public const uint ComposeSettings = 2318;
			public const uint ShowAllTags = 2327;
			public const uint ShowAligndSiteTags = 2321;
			public const uint ShowScriptTags = 2322;
			public const uint ShowStyleTags = 2323;
			public const uint ShowCommentTags = 2324;
			public const uint ShowAreaTags = 2325;
			public const uint ShowUnknownTags = 2326;
			public const uint ShowMiscTags = 2320;
			public const uint NoActivateShowZeroBorderAtDesignTime = 2328;
			public const uint NoActivateAutoDetect = 2329;
			public const uint NoActivateScriptDebugger = 2330;
			public const uint NoActivateGetBytesDownloaded = 2331;
			public const uint NoActivateNormalOleControls = 2332;
			public const uint NoActivateDesignTimeControls = 2333;
			public const uint NoActivateJavaApplets = 2334;
			public const uint NoFixupUrlsOnPasge = 2335;
			public const uint EmptyGlyphTable = 2336;
			public const uint AddToGlyphTable = 2337;
			public const uint RemoveFromGlyphTable = 2338;
			public const uint ReplaceGlyphContents = 2339;
			public const uint ShowBRTags = 2340;
			public const uint PersistStreamSync = 2341;
			public const uint SetDirty = 2342;
			public const uint RunUrlScript = 2343;
			public const uint ZoomRatio = 2344;
			public const uint GetZoomNumerator = 2345;
			public const uint GetZoomDenominator = 2346;
			// COMMANDS FOR COMPLEX TEXT
			public const uint DirectionLeftToRight = 2350;
			public const uint DirectionRightToLeft = 2351;
			public const uint BlockDirectionLeftToRight = 2352;
			public const uint BlockDirectionRightToLeft = 2353;
			public const uint InlineDirectionLeftToRight = 2354;
			public const uint InlineDirectionRightToLeft = 2355;
			// SHDOCVW
			public const uint IsTrustedDialog = 2356;
			// MSHTMLED
			public const uint InsertSpan = 2357;
			public const uint LocalizeEditor = 2358;
			// XML MIMEVIEWER
			public const uint SavePreTransformSource = 2370;
			public const uint ViewPreTransformSource = 2371;
			// Scrollbar context menu
			public const uint ScrollHere = 2380;
			public const uint ScrollTop = 2381;
			public const uint ScrollBottom = 2382;
			public const uint ScrollPageUp = 2383;
			public const uint ScrollPageDown = 2384;
			public const uint ScrollUp = 2385;
			public const uint ScrollDown = 2386;
			public const uint ScrollLeftEdge = 2387;
			public const uint ScrollRightEdge = 2388;
			public const uint ScrollPageLeft = 2389;
			public const uint ScrollPageRight = 2390;
			public const uint ScrollLeft = 2391;
			public const uint ScrollRight = 2392;
			// IE 6 Form Editing Commands
			public const uint MultipleSelection = 2393;
			public const uint Position2D = 2394;
			public const uint Element2D = 2395;
			public const uint Element1D = 2396;
			public const uint AbsolutePosition = 2397;
			public const uint LiveResize = 2398;
			public const uint AtomicSelection = 2399;
			// Auto URL detection mode
			public const uint AutoUrlDetectMode = 2400;
			// Legacy IE50 compatible paste
			public const uint IE5Paste = 2401;
			// ie50 paste mode
			public const uint IE5PasteNode = 2402;
			//;begin_public
			public const uint GetIPrint = 2403;
			// for disabling selection handles
			public const uint DisableEditFocusUI = 2404;
			// for visibility/display in design
			public const uint RespectVisibilityInDesign = 2405;
			// set css mode
			public const uint CssEditingLevel = 2406;
			// New outdent
			public const uint UIOutdent = 2407;
			// Printing Status
			public const uint UpdatePageStatus = 2408;
			// IME Reconversion 
			public const uint ImeEnableReconversion = 2409;
			public const uint KeepSelection = 2410;
			public const uint UnloadDocument = 2411;
			public const uint OverrideCursor = 2420;
			public const uint PeerHitTestSameInEdit = 2423;
			public const uint TrustedApplicationCache = 2425;
			public const uint BackgroundImageCache = 2430;
			public const uint DefaultBlock = 6046;
			public const uint MimeCSetFirst = 3609;
			public const uint MimeCSetLast = 3699;
			public const uint MenuFirst = 3700;
			public const uint MenuLast = 3732;
			public const uint MenuCount = 3733;
			public const uint Open = 2000;
			public const uint New = 2001;
			public const uint Save = 70;
			public const uint SaveAs = 71;
			public const uint SaveCopyAs = 2002;
			public const uint PrintPreview = 2003;
			public const uint ShowPrint = 2010;
			public const uint ShowPageSetup = 2011;
			public const uint Print = 27;
			public const uint PageSetup = 2004;
			public const uint Spell = 2005;
			public const uint PasteSpecial = 2006;
			public const uint ClearSelection = 2007;
			public const uint ZoomPercent = 50;
			public const uint GetZoom = 68;
			public const uint Stop = 2138;
			// Defines for ZOOMPERCENT
			public const uint ZoomPageWidth = unchecked((uint) -1);
			public const uint ZoomOnePage = unchecked((uint) -2);
			public const uint ZoomTwoPages = unchecked((uint) -3);
			public const uint ZoomSelection = unchecked((uint) -4);
			public const uint ZoomFit = unchecked((uint) -5);
			// IDMs for CGID_EditStateCommands group 
			// (The current implementation of HtmlCommand uses the hard-coded CGID_MSHTML group only)
			//public const uint Context = 1;
			//public const uint HWnd = 2;

			// Shdocvw Execs on CGID_DocHostCommandHandler
			// (The current implementation of HtmlCommand uses the hard-coded CGID_MSHTML group only)
			//public const uint NewTopLevelWindow = 7050;

			// Undo persistence comands
			public const uint PreserveUndoAlways = 6049;
			public const uint PersistedDefaultValues = 7100;
			public const uint ProtectMetaTags = 7101;
			public const uint GetFrameZone = 6037;
			public const uint RefreshThis = 6042;
			// placeholder for context menu extensions
			public const uint MenuPlaceHolder = 6047;
			//;begin_internal
			// <New in IE6>
			public const uint FirePrintTemplateUp = 15000;
			public const uint FirePrintTemplateDown = 15001;
			public const uint SetPrintHandles = 15002;
			public const uint ClearAuthenticationCache = 15003;
			public const uint GetUserInitializationFlags = 15004;
			public const uint GetDocDialogFlags = 15005;
			// <New in IE7>
			public const uint OleWindowStateChanged = 15006;
			//;end_internal
			// Security band commands
			public const uint SetPageActionAllowedFlags = 15100;
		}
	}
}
